import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import {
	getDicts
} from "@/api/system/dict/data"
import emptyView from '@/components/emptyView/emptyView.vue'
import {
	buildFullImageUrl
} from "@/utils/common.js"
import {
	FullImageUrl
} from '@/utils/common.js'


import shareMixin from '@/src/mixins/share.js';
Vue.use(plugins)
Vue.component('emptyView', emptyView)
import uView from 'uview-ui'
Vue.use(uView)
import {
	upLoadFile
} from "@/utils/common.js";
Vue.prototype.upLoadFile = upLoadFile
Vue.prototype.$buildFullImageUrl = buildFullImageUrl
Vue.prototype.$fullImageUrl = FullImageUrl

Vue.config.productionTip = false
Vue.prototype.$store = store
Vue.prototype.getDicts = getDicts

App.mpType = 'app'

const app = new Vue({
	...App,
	mixins: [shareMixin]
})

app.$mount()